/*适应屏幕*/
@media only screen and (min-width: 300px) and (max-width: 1000px) {
    .input {
        width: 31% !important;
    }
}

@media screen and (max-width: 500px) {
    .input {
        width: 45% !important;
    }

    .input1 {
        width: 50% !important;
    }

    .input2 {
        width: 45% !important;
    }

    .input3 {
        width: 25% !important;
    }
}

@import url(layui.css);
input::-webkit-input-placeholder {
    color: #ccc;
}

select::-webkit-input-placeholder {
    color: #ccc;
}

/*标题*/

.red {
    color: #ff0000;
}

.title {
    width: 100%;
    height: 30px;
    line-height: 30px;
    padding: 0 1%;
    margin: 1% 0;
    background: #fff;
    overflow: hidden;
}

.title span {
    float: left;
    font-family: "微软雅黑";
    font-size: 14px;
}

.titleright {
    float: right;
    font-family: "微软雅黑";
    font-size: 14px;
}

.titleright .r1 {
    display: block;
    width: 150px;
    margin: 0 5px;
    float: left;
}

.titleright .r2 {
    display: block;
    width: 100px;
    margin: 0 5px;
    float: left;
}

.titleright .r3 {
    display: block;
    width: 150px;
    margin: 0 5px;
    float: left;
}

.titles {
    width: 100%;
    height: 30px;
    margin: 10px 0;
    font-family: "微软雅黑";
    font-size: 15px;
    background: #edf0f9;
    color:#333
}

.titles p {
    width: 100%;
    height: 100%;
    padding: 5px;
}

.titles p font {
    display: block;
    width: 8px;
    height: 20px;
    background: #486bd3;
    float: left;
    margin: 0 5px;
}

.content {
    width: 100%;
    padding: 1%;
    background: #fff;
    overflow: hidden;
    font-size: 14px;
    font-family: "微软雅黑";
}

.conts {
    width: 100%;
    overflow: hidden;
}

.conts button {
    width: 50px;
    height: 35px;
    border: none;
    margin: 1%;
    background: #1b4fe7;
    color: #fff;
}

.conts .input {
    width: 22%;
    height: 50px;
    float: left;
    margin: 1%;
}

.input span {
    display: block;
    width: 100%;
    height: 20px;
    line-height: 20px;
}

.input input {
    width: 100%;
    height: 34px;
}

.input select {
    width: 100%;
    height: 34px;
}

.input select option {
    height: 34px;
}

.input1 {
    width: 18%;
    height: 30px;
    float: left;
    margin: 1%;
    display: flex;
}

.input2 {
    width: 31%;
    height: 35px;
    float: left;
    margin: 1%;
}

.input2 input {
    width: 100%;
    height: 34px;
}

.input3 {
    width: 10%;
    height: 35px;
    float: left;
    margin: 1%;
    line-height: 35px;
}

.input3 span {
    line-height: 35px;
}

.input3 input {
    margin: 0 !important;
}

/*录入表格*/
.luru-table {
    width: 98%;
    padding: 0 1%;
}

.luru-table table {
    width: 100%;
    color: #666;
    font-size: 14px;
    font-family: "微软雅黑";
}

.luru-table table tr th {
    text-align: center;
}

.luru-table table tr td {
    text-align: center;
}

.luru-table table tr td:nth-child(5) input {
    width: 100% !important;
    border: none !important;
}

/*.luru-table table:nth-child(1) tr td:nth-child(2){text-align: left;  }*/
.luru-table table .layui-form-select {
    display: none;
}

/*layui中的input隐藏*/
table .layui-form-checkbox {
    display: none;
}

table tr td input {
    background: #f5f5f5 !important;
}

/*上传图片*/
.main {
    width: 98%;
    margin: auto;
}

.btn {
    padding: 9px 18px;
    background: #40AFFE;
    color: #FFFFFF;
    border-radius: 5px;
}

.upimg {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 5px;
    border: dashed #999999;
    background: url(../images/addimg.svg) no-repeat;
    background-position: 33px;
}

.upimg input {
    position: absolute;
    width: 100px;
    height: 100px;
    opacity: 0;
}

#showui {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

#showui li {
    width: 150px;
    height: 150px;
    position: relative;
    overflow: hidden;
    display: inline-block;
    margin-right: 5px;
}

#showui li img.showimg {
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 6;
}

.showdiv {
    position: absolute;
    z-index: 9;
    bottom: 0;
    width: 100%;
    padding: 10px;
    display: flex;
    justify-content: space-around;
    background: rgba(0, 0, 0, .6);
}

.showdiv img {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

#showui li:first-child img.left {
    opacity: .6;
    cursor: no-drop;
}

#showui li:last-child img.right {
    opacity: .6;
    cursor: no-drop;
}

.oneright {
    opacity: .6;
    cursor: no-drop !important;
}

/*上图二*/
.shade {
    position: absolute;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.55);
}

.shade div {
    width: 300px;
    height: 200px;
    line-height: 200px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -100px;
    margin-left: -150px;
    background: white;
    border-radius: 5px;
    text-align: center;
}

.a-upload {
    padding: 4px 10px;
    height: 30px;
    line-height: 20px;
    position: relative;
    cursor: pointer;
    color: #888;
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    display: inline-block;
    *display: inline;
    *zoom: 1
}

.a-upload input {
    position: absolute;
    font-size: 100px;
    right: 0;
    top: 0;
    opacity: 0;
    filter: alpha(opacity=0);
    cursor: pointer
}

.a-upload:hover {
    color: #444;
    background: #eee;
    border-color: #ccc;
    text-decoration: none
}

.img_div {
    min-height: 100px;
    min-width: 100px;
    overflow: hidden;
}

.isImg {
    width: 150px;
    height: 200px;
    position: relative;
    float: left;
    margin: 20px;
}

.removeBtn {
    position: absolute;
    top: 2px;
    right: 4px;
    z-index: 11;
    border: 0px;
    border-radius: 50px;
    background: red;
    width: 22px;
    height: 22px;
    color: white;
}

.shadeImg {
    position: absolute;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 15;
    text-align: center;
}

.showImg {
    width: 100%;
}

/*yeshu*/
.pages {
    float: right;
    overflow: hidden;
    margin: 30px 50px 30px 0;
}

.pages .page1, .page2 {
    float: left;
    overflow: hidden;
}

.page1 a {
    display: block;
    text-decoration: none;
    padding: 2px 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    color: #666;
    margin: 0 3px;
    float: left;
    font-family: "微软雅黑";
    font-size: 14px;
}

.page2 {
    font-family: "微软雅黑";
    font-size: 14px;
    line-height: 25px;
    overflow: hidden;
}

.page2 input {
    display: block;
    outline: none;
    width: 40px;
    height: 20px;
    float: left;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.page2 font {
    font-family: "微软雅黑";
    font-size: 14px;
    float: left;
    margin: 0 5px;
}

.page2 span {
    display: block;
    float: left;
}

.page2 span font {
    float: left;
}
